package com.abner.design.patterns.builder.traditional;

/**
 * 抽象房子类
 * @author abner
 */
public abstract class AbstractHouse {

	/**
	 * 打地基
	 */
	public abstract void buildBasic();

	/**
	 * 砌墙
	 */
	public abstract void buildWalls();

	/**
	 * 封顶
	 */
	public abstract void roofed();

	/**
	 * 建房子
	 */
	public void build() {
		buildBasic();
		buildWalls();
		roofed();
	}
	
}
